package com.dxf.sysadmin.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuVo {
    /**
     *菜单名
     */
    private String title;
    /**
     *图标
     */
    private String icon;
    /**
     *是否展开
     */
    private boolean spread=false;
    /**
     *菜单路径
     */
    private String jump;
    /**
     *子级菜单
     */
    private List<MenuVo> list;

    public MenuVo(String title, String icon, String jump) {
        this.title = title;
        this.icon = icon;
        this.jump = jump;
    }
}
